package com.hongdee.crm.tag.endtity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by My on 2017/5/10.
 */
@Entity
@Table(name = "T_CRM_CAR_TAG")
public class TCrmCarTag extends BaseEntity {

    @Column(name = "tag_code", length = 32, columnDefinition = "VARCHAR(32) COMMENT '标签存储编码'")
    private String tagCode;

    @Column(name = "tag_name", length = 32, columnDefinition = "VARCHAR(32) COMMENT '标签存储名称'")
    private String tagName;

    @Column(name = "p_tag_code", length = 32, columnDefinition = "VARCHAR(32) COMMENT '上级标签编码'")
    private String pTagCode;

    @Column(name = "tag_type", length = 32, columnDefinition = "VARCHAR(32) COMMENT '0标签分组 1 标签项'")
    private String tagType;

    @Column(name = "disp_order", length = 11, columnDefinition = "int(11) COMMENT '优先级 排序'")
    private int dispOrder;

    @Column(name = "status", length = 32, columnDefinition = "VARCHAR(32) COMMENT '状态 0停用 1启用'")
    private String status;

    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司ID'")
    private String companyId;

    public String getTagCode() {
        return tagCode;
    }

    public void setTagCode(String tagCode) {
        this.tagCode = tagCode;
    }

    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    public String getpTagCode() {
        return pTagCode;
    }

    public void setpTagCode(String pTagCode) {
        this.pTagCode = pTagCode;
    }

    public String getTagType() {
        return tagType;
    }

    public void setTagType(String tagType) {
        this.tagType = tagType;
    }

    public int getDispOrder() {
        return dispOrder;
    }

    public void setDispOrder(int dispOrder) {
        this.dispOrder = dispOrder;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }
}
